package main

import "fmt"

func main() {

	var a = 1
	var b = 2
	var c = 1
	var success = true
	var fail = false

	if a == c && a < b {
		fmt.Println(success)
	} else {
		fmt.Println(fail)
	}

	var sum = 0
	for i := 1; i < 100; i++ {
		sum += i
	}
	fmt.Printf("sum1 = %v \n", sum)

	sum = 100
	for sum >= 0 {
		sum -= 1
	}
	fmt.Printf("sum2 = %v \n", sum)

	array := [...]int{6, 7, 8}
	for key, val := range array {
		fmt.Printf("key = %v val = %v \n", key, val)
	}

}
